package com.hss.test

/**
 * Created by Administrator on 2017/6/5.
 */
class StringTypeTest {
}

fun  main(args:Array<String>){


//    var arr1 = Array(5,{i->(i*i).toString()})
//    println(arr1[2])
//    for (item in arr1){
//        println(item)
//    }

//    var arr1: IntArray = intArrayOf(1,2,3)
//
//     for (item in arr1){
//        println(item)
//    }

//    var str1 :String = "hello world"
//    var  s = "str1 = ${str1} "
//    for (c in str1){
//        println(c)
//    }
//    println(s)

    val price = """${'$'}9.99"""
    println(price)
}